package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entity.Payment;

/**
 * @author Tu
 * @date 2022/12/26 16:20
 */
public interface PaymentDao {

    /**
     * 根据Id查询单条记录
     *
     * @param id
     * @return
     */
    Payment selPaymentById(Long id);

    /**
     * 添加支付信息
     *
     * @param payment
     * @return
     */
    int insertPayment(Payment payment);

}
